﻿<Window x:Class="MediaLibrary.Controls.NewAutomaticPlaylistWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    WindowStartupLocation="CenterScreen"
    WindowStyle="None"
    BorderBrush="Black"
    BorderThickness="1"
    ResizeMode="NoResize"
    MinHeight="161"
    MaxHeight="161"
    MinWidth="412"
    MaxWidth="412"
    Topmost="True">
    <Window.Background>
        <ImageBrush ImageSource="../resources/background2.jpg" />
    </Window.Background>

    <Grid x:Name="LayoutRoot" Margin="6 0 6 0">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="150" />
            <ColumnDefinition Width="250" />
        </Grid.ColumnDefinitions>

        <Grid.RowDefinitions>
            <RowDefinition Height="45" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="50" />
        </Grid.RowDefinitions>

        <Label Grid.Row="0" Grid.ColumnSpan="2" FontSize="20" FontWeight="Bold">New Automatic Playlist</Label>

        <Label Grid.Row="1" FontWeight="Bold">Playlist Name:</Label>
        <TextBox x:Name="playlistNameTextBox" Grid.Row="1" Grid.Column="1"></TextBox>


        <StackPanel Grid.Row="3" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button x:Name="createPlaylistButton" Click="createPlaylistButton_Click" Margin="0 10 6 6" Width="100">Create Playlist</Button>
            <Button x:Name="cancelButton" Click="cancelButton_Click" Margin="0 10 6 6" Width="100">Cancel</Button>
        </StackPanel>
    </Grid>
</Window>
